<!DOCTYPE html>
<html>
<head>
    <title>管理后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="__PUBLIC__/admin/bootstrap/bootstrap.min.css" rel="stylesheet">
    <!-- styles -->
    <link href="__PUBLIC__/admin/css/styles.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/popup/popUp.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="__PUBLIC__/admin/js/jquery.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="__PUBLIC__/admin/bootstrap/bootstrap.min.js"></script>
    <script src="__PUBLIC__/admin/popup/popUp.js?v=3"></script>
    <script src="__PUBLIC__/admin/js/common.js"></script>
    <![endif]-->
</head>
<body>
<div class="header">
    <div class="container">
        <div class="row">
            <div class="col-md-5">
                <!-- Logo -->
                <div class="logo">
                    <h1><a href="index.html">管理后台</a></h1>
                </div>
            </div>
            <div class="col-md-2">
                <div class="row">
                    <div class="col-lg-12">

                    </div>
                </div>
            </div>
            <div class="col-md-5">
                <div class="navbar navbar-inverse" role="banner">
                    <nav class="collapse navbar-collapse bs-navbar-collapse navbar-right" role="navigation">
                        <ul class="nav navbar-nav">
                            <li class="<eq name='controllername' value='Info'> active </eq> "><a href="__APP__/Info/index">录入</a></li>
                            <li  class="<if condition="$controllername eq 'Daolu' OR $controllername eq 'Heimingdan' OR $controllername eq 'Record'">active</if>"><a href="__APP__/Record/index">管理</a></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">{$account_name}<b class="caret"></b></a>
                                <ul class="dropdown-menu animated fadeInUp">
                                    <!--<li><a class="pwdBtn" href="#">修改密码</a></li>-->
                                    <li><a href="__APP__/Auth/logout">退出登录</a></li>
                                </ul>
                            </li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="page-content">
    <div class="row">
        <div class="col-md-2">
            <div class="sidebar content-box" style="display: block;">
                <ul class="nav">
                    <!-- Main menu -->
                    <li class="<eq name='controllername' value='Record'> current </eq> "><a href="__APP__/Record/index/type/a"><i class="glyphicon glyphicon-list"></i> 列表</a></li>

                </ul>
                <ul class="nav">
                    <!-- Main menu -->
                    <if condition="$account_role eq 999 OR $account_role eq 99">
                        <li class="<eq name='controllername' value='Daolu'> current </eq> "><a href="__APP__/Daolu/index"><i class="glyphicon glyphicon-list"></i> 道路管理</a></li>
                        <li class="<eq name='controllername' value='Heimingdan'> current </eq> "><a href="__APP__/Heimingdan/index"><i class="glyphicon glyphicon-list"></i> 申请单位黑名单</a></li>
                        <li class="<eq name='controllername' value='Heimingdan2'> current </eq> "><a href="__APP__/Heimingdan2/index"><i class="glyphicon glyphicon-list"></i> 广告公司黑名单</a></li>
                    </if>
                </ul>
            </div>
        </div>
        <div class="col-md-10">
            {__CONTENT__}
        </div>
    </div>
</div>

<!--<footer class="navbar-fixed-bottom">-->
<footer class="">
    <div class="container">

        <div class="copy text-center">
            Copyright 2017 小榄城管执法分局版权所有 <a href='#'></a>
        </div>

    </div>
</footer>
<div id="pwdModal" class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" aria-hidden="true">
</div>
</body>
<script>
    $(".pwdBtn").on("click",function(){
        var target = "#pwdModal";
        $(target).load("__APP__/User/updatePwd/");
        $(target).modal("show");
    });
</script>
</html>
